package com.menghao.sso.server.model;

import lombok.Data;

@Data
public class SimplePrincipal implements Principal {

    private static final long serialVersionUID = 3977857358779396149L;

    private final String url;

    public SimplePrincipal(final String url) {
        if (url == null) {
            throw new IllegalArgumentException("id is a required parameter.");
        }
        this.url = url;
    }

}
